package com.aos.erp.gov.ex.service;

import com.aos.erp.common.bean.PageBean;
import com.aos.erp.gov.ex.model.GovSchoolTicket;

import java.util.Date;
import java.util.List;

public interface GovSchoolTicketService {

    GovSchoolTicket getById(long id);

    void addBean(GovSchoolTicket bean);

    PageBean<GovSchoolTicket> queryByPage(long pageIndex, long pageSize);

    void saveCookies(String webCode, String account, String  deviceId, String cookie);

    void updateCookies(long id, String cookies);

    void updateSuccessStatus(long id, Date refreshTime);

    void updateTimeOutStatus(long id, Date refreshTime);

    List<GovSchoolTicket> getTopNeedRefresh(Date minTime);

}